using System;
using System.Collections.Generic;
using System.Text;

namespace Eva.DBService.Classe
{
    class ParamConnection
    {
        // DECLARATIONS
        #region ATTRIBUTS

        [NonSerialized()]
        private string _mDataBase;
        [NonSerialized()]
        private string _mServer;
        [NonSerialized()]
        private bool _mIntegratedSecurity;
        [NonSerialized()]
        private string _mUserName;
        [NonSerialized()]
        private string _mPassword;
        [NonSerialized()]
        internal bool _mModified;
        [NonSerialized()]
        private string _mSQLServerConnectionTimeOut;

        #endregion

        //

        public ParamConnection()
        {

        }
        #region PROPRIETES

        public string DataBase
        {
            get
            {
                return _mDataBase;
            }
            set
            {
                _mDataBase = value;
            }
        }
        public string server
        {
            get
            {
                return _mServer;
            }
            set
            {
                _mServer = value;
            }
        }
        public bool IntegratedSecurity
        {
            get
            {
                return _mIntegratedSecurity;
            }
            set
            {
                _mIntegratedSecurity = value;
            }
        }
        public string username
        {
            get
            {
                return _mUserName;
            }
            set
            {
                _mUserName = value;
            }
        }
        public string password
        {
            get
            {
                return _mPassword;
            }
            set
            {
                _mPassword = value;
            }
        }
        public bool modified
        {
            get
            {
                return _mModified;
            }
            set
            {
                _mModified = value;
            }
        }
        public string SQLServerConnectionTimeOut
        {
            get
            {
                return _mSQLServerConnectionTimeOut;
            }
            set
            {
                _mSQLServerConnectionTimeOut = value;
            }
        }
        #endregion
    }
}
